package cmpe.swe.purcom.model;

import java.util.Date;

public class Community {
	private Long id;
	private String name;
	private String description;
	private int status;
	private Date enddate;
	private int type;

	public Community() {
		super();
	}

	/**
	 * This method sets the parameters of the Community object
	 * 
	 * @param id id property of the object
	 * @param name name property of the object
	 * @param description description of the object
	 * @param status status information of the object
	 * @param enddate time property of the object
	 * @param type type information of the object
	 */
	public Community(Long id, String name, String description, int status,
			Date enddate, int type) {
		super();
		this.id = id;
		this.name = name;
		this.description = description;
		this.status = status;
		this.enddate = enddate;
		this.type = type;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Date getEnddate() {
		return enddate;
	}

	public void setEnddate(Date enddate) {
		this.enddate = enddate;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

}
